import simcraft
import os
import sys

# use the provided directory if one is provided.
# otherwise, prompt for one.
if len(sys.argv) > 1:
    simc = sys.argv[1]
else:
    simc = raw_input("Where is SimulationCraft located? ")

api = simcraft.Api(simc)

print api.raw_exec(armory="us,mannoroth,dusknoir")
